package net.towee.client.com.app;

import net.towee.client.event.core.ShowComponentEvent;

/**
 * Top panel interface. It consists of logo, mutable buttons and account
 * control panel(xmpp client, exit button).
 * 
 * Implementation must handle {@link ShowComponentEvent} event. For showed
 * component it select needed main button.
 * 
 * @author c58
 */
public interface TopPanel extends Presenter {
	/**
	 * Show main buttons and XMPP client. By default it's not select
	 * any button, just show they. Before buttons showed it hide and remove all
	 * current showed buttons(custom buttons).
	 */
	void showMainButtons();
	
	/**
	 * Show lobby button. If showed main buttons it hide 
	 * they before(with xmpp client). Showed button is selected.
	 */
	void showLobbyButton();
}
